/*
 * Buddy.h
 *
 *  Created on: Mar 2, 2011
 *      Author: jelle
 */

#ifndef BUDDY_H_
#define BUDDY_H_

#include "Area.h"

enum BuddyStatus {
	FULL,
	SPLIT,
	EMPTY
};

class Buddy {
private:
	BuddyStatus status;
	Area*		area;
public:
				Buddy();
	virtual 	~Buddy();

	void  		setArea(Area*);
	void  		removeArea();
	Area* 		getArea();
	BuddyStatus getStatus();
	void		split();
	void		join();
};

#endif /* BUDDY_H_ */
